package com.learncloud.serviceFeign;

import com.learncloud.FeignHystric.TestFeignServiceHystric;
import com.learncloud.FeignHystric.TestFeignZuulServiceHystric;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created by zhong on 2018/4/10.
 */
@FeignClient(value = "learncloud-zuul",fallback = TestFeignZuulServiceHystric.class)
public interface TestFeignZuulService {

    @PostMapping(value = "/service-test1/test")
    String test();
}
